package com.aistar.pojoVO;

import com.aistar.pojo.Contest;
import com.aistar.pojo.ContestMessage;
import com.aistar.pojo.Customer;

import java.io.Serializable;

public class ContestAndMessageVO implements Serializable {
    private ContestMessage contestMessage;
    private Contest contest;
    private Customer customer;
    private static final long serialVersionUID = 1L;
    
    public ContestAndMessageVO() {
    }

    public ContestAndMessageVO(ContestMessage contestMessage, Contest contest, Customer customer) {
        this.contestMessage = contestMessage;
        this.contest = contest;
        this.customer = customer;
    }

    public ContestMessage getContestMessage() {
        return contestMessage;
    }

    public void setContestMessage(ContestMessage contestMessage) {
        this.contestMessage = contestMessage;
    }

    public Contest getContest() {
        return contest;
    }

    public void setContest(Contest contest) {
        this.contest = contest;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    @Override
    public String toString() {
        return "ContestAndMessageVO{" +
                "contestMessage=" + contestMessage +
                ", contest=" + contest +
                ", customer=" + customer +
                '}';
    }
}
